package com.itsv.xhyy;

import com.itsv.cyzx.util.AsyncImageLoader;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class ShowHeadActivity extends Activity implements OnClickListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.layout_head);
	Intent intent = getIntent();
	String avatar = intent.getStringExtra("avatar");
	ImageView imageView = (ImageView) findViewById(R.id.imageView1);
	AsyncImageLoader.getInstance().displayImage(avatar, imageView, R.drawable.personal_card_avatar_defult, false);
	imageView.setOnClickListener(this);
}

@Override
public void onClick(View v) {
	finish();
}
}
